﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientService.Models.Lg.Remote;
/// <summary>
/// 电芯ng信息
/// </summary>
public class LgCellNg
{
    /// <summary>
    /// 电芯
    /// </summary>
    public string Cell { get; set; }
    /// <summary>
    /// 0:Ok  1:ng
    /// </summary>
    public int Ng { get; set; } = 1;
    /// <summary>
    /// 4位Ng代码
    /// </summary>
    public string NgCode { get; set; } = "0000";

    public override string ToString()
    {
        return $"{Cell.PadRight(24, ' ')}{Ng}{NgCode.PadLeft(4, '0')}";
    }
}
